package competition.service.impl;

import competition.dao.VersionDao;
import competition.service.VersionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2017/10/30/030.
 */
@Service(value = "versionService")
public class VersionServiceImpl implements VersionService {

    @Resource(name = "versionDao")
    private VersionDao versionDao;

    public boolean insertVersion(String name, String apk) {
        return versionDao.insertVersion(name, apk);
    }

    public List returnVersion() {
        return versionDao.returnVersion();
    }
}
